<#include "/common/head.ftl">

<@showTitle title="${i18n.getMessage('surveyInfo')} > ${i18n.getMessage('list')}">
	<a href="#" onclick="cc('system/showAddSurveyInfo.sgt')">${i18n.getMessage('add')}</a>
</@showTitle>

<br/>

<@display.table id="listTable" name="surveyInfos" pagesize="20">
	<@display.column title="${i18n.getMessage('name')}">${(listTable.name)!}</@display.column>
	<@display.column title="${i18n.getMessage('description')}">${(listTable.description)!}</@display.column>
	<@display.column title="${i18n.getMessage('active')}" class="center w050"><input type="checkbox" <#if (listTable.active)>checked="checked"</#if> disabled="disabled" /></@display.column>
	<@display.column title="${i18n.getMessage('edit')}" class="center w050"><img src="images/edit.gif" style="cursor:pointer" onclick="cc('system/showEditSurveyInfo.sgt?id=${listTable.id}')"/></@display.column>
	<@display.column title="${i18n.getMessage('delete')}" class="center w050"><img src="images/delete.gif" style="cursor:pointer" onclick="if(confirm('${i18n.getMessage('dialog.delete')}')) { cc('system/deleteSurveyInfo.sgt?id=${listTable.id}'); }"/></@display.column>
</@display.table>